package com.cskaoyan.javase.array._3momory;
/**
 * 各种类型元素的默认值
 *
 * @since 11:49
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo3 {
    public static void main(String[] args) {
        char[] arr = new char[3];
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);
        System.out.println(123);

        boolean[] arr2 = new boolean[3];
        System.out.println(arr2[0]);
        System.out.println(arr2[1]);
        System.out.println(arr2[2]);

        String[] arr3 = new String[3];
        System.out.println(arr3[0]);
        System.out.println(arr3[1]);
        System.out.println(arr3[2]);

    }
}
